﻿/*=============================================================
   
    Authour URI: http://www.binarytheme.com
    License: MIT
    100% Free To use For Personal And Commercial Use.
      
    ========================================================  */
(function ($) {
    "use strict";
    var mainApp = {

        animation_text: function () {

            //These Codes Used To Flipping Text 
            $(".error").flipping_text(); // Used for ERROR 404 !

            $(".not-found").flipping_text(); // Used for RESOURCE NOT FOUND

            $(".go-back").flipping_text(); // Used for Please Go Back

            //These Codes Used To Rotate Text 
            $(".go-back").textrotator({ // Used for Please Go Back
                animation: "flip", // You Can Change Its Values To fade, flipCube, flipUp and spin also. You can pass more words by using , seprator  
                speed: 1250 // time in miliseconds till the next word will wait
            });
            $(".error").textrotator({ // Used  for ERROR 404 !
                animation: "flipUp",  // You Can Change Its Values To fade, flipCube, flip and spin also. You can pass more words by using , seprator 
                speed: 1750 // time in miliseconds till the next word will wait
            });

            //scroll reveal Script Function calling.
            window.scrollReveal = new scrollReveal(); 
        },
       
        initialization: function () {
            mainApp.animation_text();
           
        }
        /*=============================================================
            WRITE YOUR SCRIPTS HERE
      
            ========================================================  */
    }
    // Initializing ///

    $(document).ready(function () {
        mainApp.animation_text();
    });

}(jQuery));



